<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
		<c:url var="rec" value="/WebContent/recursos/"/>
	
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

	<link href="${rec}css/ui-lightness/jquery-ui-1.10.4.custom.css" rel="stylesheet">
	<script src="${rec}js/jquery-1.10.2.js"></script>
	<script src="${rec}js/jquery-ui-1.10.4.custom.js"></script>
	<script>
	$(function() {
				
		$( "#datepicker" ).datepicker({
			inline: true
		});
	
	
});
	</script>
	
	<title>Gerenciador Pessoal - Calendario</title>
	
</head>
<body>

<div class="panel panel-default">

	  <!-- Default panel contents -->
	  <div class="panel-heading">Datepicker</div>
	  <div class="panel-body">
	  <c:url var="date" value="/" />
	  <form action="${date}dateBusca" method="post">
	   		<input id="datepicker" class="calen" name="data" value="${data}" ></input>
	   		<button type="submit" class="btn-primary" name="data">buscar</button>
	   </form>		
	   		<br/><br/>
	   	<table class="table" border="1">	
	   		<tr>
			<th>Titulo</th>
			<th>Assunto</th>
			</tr>
  		<c:forEach var="conteudo" items="${conteudo}">
			<tr>				
				<td>${conteudo.tituloConteudo}</td>	
				<td>${conteudo.assuntoConteudo}</td>	
			</tr>
		</c:forEach>
		</table>
	   		
	</div>
	
</div>

</body>
</html>